package MVC;

import MVC.Controllers.*;

import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

public abstract class Controller {

    /* Atributos */
    public static JogadorController jogadorController = new JogadorController();
    public static NetGamesController netGamesController = new NetGamesController();

    /* Métodos */
    public void render(View view) {
        View.frame.setContentPane(view.mainPanel());
        View.jogoMenu.removeAll();
        view.rendered();
    }

}
